		<table cellpadding="3" cellspacing="1"  id="list-table">
			<tr>
			    <th>归属省份</th>
				<th>城市编码</th>
				<th>状态</th>
				  <th>热度</th>
				<th>城市名称</th>
				<th>归属区域</th>
				 
			    <th>城市图片</th>
			    <th>等待图片</th>
				<th>操作</th>
			</tr>
<#if (cityLists?size>0) >
			<#list cityLists as city>
      <tr align="center">
      				<td valign="top" nowrap="nowrap"> 
      				
      				 <#if (city.province)??>
      				 <#if (city.province)?string=='11' >
						北京 
					</#if>
					<#if (city.province)?string=='12' >
						天津
					</#if>
										
						 <#if (city.province)?string=='31' >
						上海 
					</#if>
					<#if (city.province)?string=='50' >
						重庆
					</#if>		
      				<#if (city.province)?string=='51' >
						四川
					</#if>	
					<#if (city.province)?string=='32' >
						江苏
					</#if>	
					<#if (city.province)?string=='33' >
						浙江
					</#if>	
					<#if (city.province)?string=='44' >
						广东
					</#if>	
					
      				</#if>
      				</td>
      				
      				
      				
      				
      				
					<td valign="top" nowrap="nowrap"> ${city.citycode}</td>
						<td valign="top" nowrap="nowrap"> 
      				
      				 <#if (city.state)??>
      				 <#if  city.state ==1 >
						未启用
					</#if>
					<#if  city.state ==2 >
					启用
					</#if>
							 
      				</#if>
      				</td>
      				 </td>
					 <td align="center" nowrap="nowrap">
				 
					 <#if (city.hotDegree)??>
					${city.hotDegree}
						<#else> 
    				 0
					</#if>
					</td>
					<td align=" " valign="top" nowrap="nowrap">
					&nbsp;
					
					 <#if (city.city)??>
					${(city.city)}
					</#if>
					&nbsp;&nbsp;
					 
					 </td>
					 <td  valign="top" nowrap="nowrap">
					<#if (city.belongArea)??>
					${city.belongArea} 
					 			 
					 </#if>
					
					  <td  valign="top" nowrap="nowrap">
					<#if (city.cityImage)??>
					<a href="../${city.cityImage}" > <img src="../${city.cityImage}" width="30px"></a>
					 			 
					 </#if>
					 </td>
					 <td  valign="top" nowrap="nowrap">
					<#if (city.loadImage)??>
					<a href="../${city.loadImage}" > <img src="../${city.loadImage}" width="30px"></a>
					 			 
					 </#if>
					 </td>
					<td   align="center">
					 
						<a href="../product/getCityCfgById.action?citycode=${city.citycode}">编辑</a>|
						 
						<a  onclick="{if(confirm('你确定要删除吗？')){return true;}return false;}" href="../product/deleteCityCfg.action?citycode=${city.citycode}&cityImage=${city.cityImage}">删除</a>
					
					</td>
				</tr>
    </#list>
</#if>


</table>
<script type="text/javascript">
     listTable.action = "ajaxQueryCityList.action";
     listTable.currentPage=${(page.currentPage)?c};
     listTable.pageCount=${(page.totalPage)?c};
     listTable.recordCount=${(page.allRow)?c};
 </script>
<!-- 分页 -->
<table id="page-table" cellspacing="0">
			<tr>
				<td align="right" nowrap="true">
					<div id="turn-page">
					共<span id="totalRecords">${page.allRow} </span>条记录&nbsp; 
					共<span	id="totalPages">${page.totalPage}</span> 页&nbsp;
				当前第<span	id="pageCurrent">${page.currentPage}</span>页&nbsp;  
	     
	     <!--也许可以换种方式，呵呵，不用人工输入，用下拉列表-->
	     每页显示记录条数 <input type='text' size='3' id='pageSize' value="${page.pageSize}" onkeypress="return listTable.changePageSize(event)" />
	   <!--查询动作-->
	    <input type='hidden' size='3' id='action' value="ajaxQueryCityList.action"/>
	       
							
						<span id="page-link">  
						<a	href="javascript:listTable.gotoPageFirst()">第一页</a> 
						<a	href="javascript:listTable.gotoPagePrev()">前一页</a> 
						<a	href="javascript:listTable.gotoPageNext()">下一页</a> 
						<a	href="javascript:listTable.gotoPageLast()">最后一页</a> 
						<select	id="gotoPage" onchange="listTable.gotoPage(this.value)">
						<#assign x=page.totalPage>
						<#assign y=page.currentPage>
						<#list 1 .. x as i>
						<#if y==i >
						    <option value="${(i)?c}" selected="selected">${(i)?c}</option>
						<#else>
							<option value="${(i)?c}" >${(i)?c}</option>
						</#if>
						</#list>
           </select>
        </span>
        </div>
        </td>
        
    </tr>
</table>
